<?php

use common\widgets\tree\TreeView;

/* @var $this yii\web\View */
/** @var string $title */
/** @var array $treeConfig */

$this->title = $title;
$this->params['breadcrumbs'][] = $this->title;

$treeConfig['nodeView'] = '@common/views/widgets/tree-manager/_node';

?>
<div class="category-index">
<?php echo TreeView::widget($treeConfig); ?>
</div>
